package com.dj.mingkong.common.enums;

/**
 * 登录类型枚举
 *
 * @author zenglonghui
 * @date: 2022/12/7 11:29
 */
public enum LoginLogTypeEnum {
    PORTAL(0, "门户系统"),
    ADMIN(1, "后台管理系统");

    private Integer type;
    private String name;

    LoginLogTypeEnum(Integer type, String name) {
        this.type = type;
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public boolean equalsType(String type) {
        return this.type.equals(type);
    }
}
